Measure Manager

The Measure Manager allows you to customize the measures (values) displayed in the OLAP cube.

General

The General tab controls the display caption, calculation type, and data type.

Measure Manager on the General tab.

Initially, each measure is set to display only the value. You can add additional measure data by checking the information you would like to show (Percents by row/column, rank, difference, etc.)

Filters

The Filters tab includes options for limiting the values shown to those over or under a specified amount.

Filters tab of the measure manager

When one or more measures has a filter on it, the Measures button on the OLAP cube turns red:

OLAP cube with red Measures button indicating filtering in place.

Format

The Format tab controls how the measure values display in the cells.

Format tab of the measure manager

Format - Add characters manually before/after the number as desired, or use the options below to create the format string.

Predefined Formats - Choose from three predefined formats including Generic, Price (US), and Summa.

Number of decimals - Enter the number of places to retain past the decimal place.

Thousand separator - Check to insert comma separators.

Symbol - Enter the symbol(s) to include before/after the number.

Before/After - Specifies if the symbol should be inserted before the number or after it. The default is after.

Formula

The Formula tab is where you enter the formula that defines each of the custom measures that you add to the Measure Manager. This tab is only available for custom measures.

Go to the Formula tab to tell the Measure Manager how this measure should be created. The formula is started for you and you can add to it using any of the available measures and views.

Formula tab of the measure manager

Place your cursor at the desired location in the forumula. Then, choose a measure and view, and click the + button to insert it:

Result = "sale_amount"[VALUE];

The following is an example formula. It assumes there is a measure named "Gift" and calculates the percentage of all gifts that each record makes up. You don't have to use all of the features that are in use here but this should give you a good idea of what the formula parser expects:

begin
var gift;
var giftTotal;
gift = "GiftAmt";
giftTotal = "GiftAmt"[COLUMN];
Result = gift / giftTotal * 100;
end;

When you have entered the formula, click Validate Formula to verify the syntax is correct before applying your measure changes to the OLAP cube.